package com.zishi.service.impl;

import com.zishi.service.UtilService;
import com.zishi.util.FileUploadUtil;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;


/**
 * @author TP
 * @version 1.0
 * @date 2022/5/9/0009 9:25
 */
@Service
public class UtilServiceImpl implements UtilService {

    @Override
    public String upload(MultipartFile file, String openid) {

        return FileUploadUtil.upload(file, openid);
    }
}
